package com.service;

import com.entity.LoginInfo;

/**
 * Created by Administrator on 2018/10/20 0020.
 */
public interface LoginService {

    LoginInfo findPhone(String phone,String password,Integer type);

    String getOpenId(Integer userId);

    int insertCertification(Integer userId);

    int registration(String phone,String password,Integer type,Integer pid);

    int addTeacher(Integer userId);

    int updatePassword(String phone,String password);

    int reSetPassword(Integer userId,String password,String newPassword);

    int setPhone(String phone,String newPhone);

    int insertLoginLocation(Integer userId,String latitude,String longitude,String address);

    int findTimedTask();
}
